package io.renren.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author Lizhiwei
 * @email 123@qq.com
 * @date 2022-10-30 00:38:52
 */
@Data
@TableName("dorm_violation")
public class DormViolationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Integer id;
	/**
	 * 违规学生id
	 */
	private Integer userId;
	/**
	 * 违规事由
	 */
	private String reason;
	/**
	 * 证明图片
	 */
	private String confirmImg;
	/**
	 * 处理结果
	 */
	private String result;
	/**
	 * 违规日期
	 */
	private Date createTime;
	/**
	 * 违规人宿舍号
	 */
	private Integer dormId;
	/**
	 * 学号
	 */
	@TableField(exist = false)
	private String num;
	/**
	 * 姓名
	 */
	@TableField(exist = false)
	private String realName;
	/**
	 * 宿舍区
	 */
	@TableField(exist = false)
	private String FirstLevel;
	/**
	 * 宿舍楼
	 */
	@TableField(exist = false)
	private String SecondLevel;

}
